package com.adou.d5.cla.d1;

public class Test {
    public static void main(String[] args) {
        // 认识面向对象如何处理数据和解决问题
        Student stu = new Student();
        stu.name = "波妞";
        stu.chiness = 100;
        stu.math = 100;
        stu.printTotal();
        stu.printAvg();

        Student stu2 = new Student();
        stu2.name = "波仔";
        stu2.chiness = 90;
        stu2.math = 100;
        stu2.printTotal();
        stu2.printAvg();
    }
}
